package com.neu.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 17478
 * @ClassName: FatherDemandWithChildrenDTO
 * @description: TODO
 * @date 2024-11-18 16:45
 * @version: 1.0
 */
@Data
@NoArgsConstructor
public class DemandDTO {
    private int sid;            // 子需求 ID
    private int fid;            // 父需求 ID
    private String pname;       // 父需求名称
    private String sname;       // 子需求名称
    private String description; // 子需求描述
    private String type;        // 功能点类型
    private int ufp;            // 功能点数量
    private String degree;         // 复用度

    public DemandDTO(int sid, int fid, String pname, String sname, String description, String type, int ufp, String degree) {
        this.sid = sid;
        this.fid = fid;
        this.pname = pname;
        this.sname = sname;
        this.description = description;
        this.type = type;
        this.ufp = ufp;
        this.degree = degree;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getUfp() {
        return ufp;
    }

    public void setUfp(int ufp) {
        this.ufp = ufp;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }
}


